package com.comleader.uap.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

import lombok.Getter;

/**
 * @Description 统计纬度枚举类
 * @Auhtor 连新景
 * @Date 2024/12/03 18:41
 */
@Getter
public enum StatDimensionEnum {
    HOUR(1, "时"), DAY(2, "日"), MONTH(3, "月"), YEAR(4, "年");

    @EnumValue
    private Integer value;
    private String desc;

    StatDimensionEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}